#include "TimeUtils.h"
#include "sys/time.h"

long TimeUtils::getCurrentTime() {
    struct timeval tv;
    gettimeofday(&tv, NULL);
    return tv.tv_sec * 1000 + tv.tv_usec / 1000;
}